html * {
    margin: 0;
    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
}

/* GENERAL */

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}

body {
    background: #fff;
    color: black;
    font: 11px verdana, arial, helvetica, sans-serif;
}
#grailsLogo {
	padding:20px;
}

a:link, a:visited, a:hover {
    color: #666;
    font-weight: bold;
    text-decoration: none;
}

h1 {
    color: #48802c;
    font-weight: bold;
    font-size: 20px;
    margin: .8em 0 .3em 0;
}

ul {
    padding-left: 15px;
}

input, select, textarea {
    background-color: #fcfcfc;
    border: 1px solid #aaa;
    font: 11px verdana, arial, helvetica, sans-serif;
    margin: 2px 0;
    padding: 2px 4px;
}

select {
   padding: 2px 2px 2px 0;
}
textarea {
	width: 250px;
	/*height: 150px;*/
	vertical-align: top;
}

input:focus, select:focus, textarea:focus {
    border: 1px solid #b2d1ff;
}

.body {
    float: left;
    margin: 0px 15px 10px 80px;
}

/* NAVIGATION MENU */

.nav {
    /*background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    border-style: solid none solid none;*/
    margin-top: 20px;
    padding: 7px 12px;
    /*text-align: center;*/
}

.nav-bottom {
    padding-top: 10px;
    margin-left: 33px;
}

.menuButton {
    font-size: 10px;
    padding: 0 5px;
    float: left;
}
.menuButton a {
    color: #333;
    padding: 4px 6px;
}
.menuButton a.home {
    background: url(../images/skin/house.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.list {
    background: url(../images/skin/database_table.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 20px 0 0 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}
td div.errors {
    margin:  0;
    padding:  0;
}
div.errors ul {
    list-style: none;
    padding: 0;
}
div.errors li {
	background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}
td.errors input {
    border: 1px solid red;
}
td.errors textarea {
    border: 1px solid red;
}

/* TABLES */

table {
    border: 1px solid #aaa;
    width: 100%;
}
tr {
    border: 0;
}
td, th {
    font: 11px verdana, arial, helvetica, sans-serif;
    line-height: 12px;
    padding: 5px 6px;
    text-align: left;
    vertical-align: top;
}
th {
    background: #fff url(../images/skin/shadow.jpg);
    color: #666;
    font-size: 11px;
    font-weight: bold;
    line-height: 17px;
    padding: 2px 6px;
}
th a:link, th a:visited, th a:hover {
    color: #333;
    display: block;
    font-size: 10px;
    text-decoration: none;
    width: 100%;
}
th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}
th.asc a {
    background-image: url(../images/skin/sorted_asc.gif);
}
th.desc a {
    background-image: url(../images/skin/sorted_desc.gif);
}

.odd {
    background: #f7f7f7;
}
.even {
    background: #fff;
}

/* custom tables */
table.questions {
    border: 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse;
    color: black;
    background-color: #f2ebbd;
    width: 880px;
}

table.questions tr {
    margin: 0;
    padding: 0;
}

table.questions td {
    border: 2px solid #888 !important;
    border-right: 0;
    margin: 0;
    padding: 6px;
    font-size: 14px;
    line-height: 15px;
}

table.questions td span.calculated {
    font-size: 12px;
}

table.questions label {
    padding-right: 15px;
    padding-left: 5px;
}

table.questions input[type='radio'] {
    margin-bottom: 10px;
    *margin-bottom: 0;
    background-color: #f2ebbd;
    border: 0;
}
table.questions input[type='checkbox'] {
    *margin-bottom: 0;
    background-color: #f2ebbd;
    border: 0;
}

table.questions textArea {
    width: 90%;
}

table.shy td {
    border: 0 !important;
}

table.shy {
    border: 0 !important;
}

table.answers {
    border: 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse;
    color: black;
    background-color: #F8F8F8;
    width: 700px;
}

table.answers tr {
    margin: 0;
    padding: 0;
}

table.answers td {
    border: 1px solid gray;
    margin: 0;
    padding: 6px;
    font-size: 11px;
    line-height: 15px;
}

table.answers label {
    padding-right: 15px;
    padding-left: 5px;
}

table.dashboard {
    width: 90%;
    margin-top: 20px;
    border: none;
}

table.dashboard tr td:first-child {
    width: 50%;
}

table.stats td {
    text-align: center;
}

table.stats {
    width: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* LIST */

.list table {
    border-collapse: collapse;
    margin: 25px 0px;
}
.list th, .list td {
    border-left: 1px solid #ddd;
}
.list th:hover, .list tr:hover {
    background: #b2d1ff;
}

/* PAGINATION */

.paginateButtons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    border-top: 0;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    padding: 10px 3px;
}
.paginateButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #ccc #aaa #aaa #ccc;
    color: #666;
    margin: 0 3px;
    padding: 2px 6px;
}
.paginateButtons span {
    padding: 2px 3px;
}

/* DIALOG */

.dialog table {
    padding: 5px 0;
    margin: 25px 15px 0px 0px;
    border: none;
}

.prop {
    padding: 5px;
}
.prop .name {
    text-align: left;
    width: 15%;
    white-space: nowrap;
}
.prop .value {
    text-align: left;
    width: 85%;
}

/* ACTION BUTTONS */

.buttons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    color: #666;
    font-size: 10px;
    margin-top: 5px;
    overflow: hidden;
    padding: 0;
}

.buttons input {
    background: #fff;
    border: 0;
    color: #333;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
}
.buttons input.delete {
    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.edit {
    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.save {
    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
    padding-left: 28px;
}

/********* Workforce-specific styles ************/
.alignWithLevel3 {
    float: right;
    margin-right: 64px;
}

span.errors {
    color: red;
}

span.pageProgress input {
    color: transparent;
    _color: white;  /* IE6 */
    *padding-left: 1000px !important;  /* IE7 */
    text-indent: -999px; /* IE8 */
    border: none;  /* IE6 */
    width: 20px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 0 60%;
}

span.pageProgress input.step-off {
    background-image: url(../images/abrsskin/step-off.gif);
    padding: 0 25px 0 25px;
    width: 50px;  /* IE6 */
}

span.pageProgress input.step-on {
    background-image: url(../images/abrsskin/step-on.gif);
    padding: 0 25px 0 25px;
    width: 50px;  /* IE6 */
}

span.pageProgress input.first-step-off {
    background-image: url(../images/abrsskin/first-step-off.gif);
    padding: 0 7px 0 25px;
    width: 33px;  /* IE6 */
}

span.pageProgress input.first-step-on {
    background-image: url(../images/abrsskin/first-step-on.gif);
    padding: 0 7px 0 25px;
    width: 33px;  /* IE6 */
}

span.pageProgress input.last-step-off {
    background-image: url(../images/abrsskin/last-step-off.gif);
    padding: 0 25px 0 7px;
    width: 33px;  /* IE6 */
}

span.pageProgress input.last-step-on {
    background-image: url(../images/abrsskin/last-step-on.gif);
    padding: 0 25px 0 7px;
    width: 33px;  /* IE6 */
}

div.footer {
    border-top: 1px solid #CCC;
    clear: both;
    font-size: 90%;
    margin-top: 2em;
    padding-top: 1em;
    padding-left: 80px;
    text-align: left;
}

div.footer img {
    float:right;
    padding-right: 70px;
}

div.login-info {
    float: right;
    margin-right: 15px;
    margin-top: 3px;
    color: #666;
    font: 11px verdana, arial, helvetica, sans-serif;
}

#logged-in {
    padding-right: 30px;
}

span.navButton {
    font-size: 16px;
    margin-bottom: 12px;
    color: #666;
}

div.nav span.navbutton:first-child {
    padding-left: 20px;
}

input.prev {
    padding-left: 120px;
}

input.prevBottom {
    padding-left: 80px;
}

.navButton a {
    color: #48802c;
    font-weight: normal;
    padding-bottom: 2px;
}

span.home a {
    margin-bottom: 10px;
    vertical-align: text-top;
}

input.navButton {
    cursor: pointer;
    color: #dd8844;
    font-size: 16px;
    font-weight: bold;
    border: none;
    background-color: transparent;
    margin: 0;
}

span.answer {
    font-weight: bold;
}

div.right img {
    padding-right: 40px;
    padding-top: 30px;
}

div.links {
    padding: 40px 80px 30px 80px;
}

p {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 12px;
}

div.go-buttons {
    padding-bottom: 20px;
    text-align: center;
}

div.go-buttons img {
    padding: 0 20px 0 20px;
}

a img {
    border: none;
}

span.subtext {
    font-size: 13px;
}

.instruction {
    font-style: italic;
}

body > p {
    padding-left: 80px;
}

ul.respondents {
    list-style: none;
}

ul.respondents li {
    padding-bottom: 3px;
}

ul.respondents li a {
    font-weight: normal;
    color: #333;
}

#breadcrumb a {
    background:url(../images/abrsskin/breadcrumb-separator-2.png) right center no-repeat;
    padding-right:20px;
}

.textLinks a {
    text-decoration: underline;
}

div.progress-container {
  border: 1px solid #ccc;
  width: 268px;
  padding: 1px;
  float: left;
  background: white;
}

div.progress-container > div:first-child {
  background-image:url(../images/abrsskin/bargraph.gif);
  background-position:right center;
  background-repeat:repeat-x;
  border-right:#538e02 1px solid;
  text-align: center;
  color: white;
  background-color: #00cc33;
  height: 14px;
  float: left;
}

div.progress-container > div {
  background-color: #99ff99;
  height: 14px;
}

.respondents a {
    text-decoration: underline;
}

.dull {
    color: #666
}

h2 {
    font-weight: normal;
    color: #48802c;
    margin: 25px 0 0 0;
}

h3 {
    color: #48802c;
    margin: 30px 0 7px 0;
}

.dashboard span.total {
    color: #ccc;
    padding-left: 5px;
    padding-top: 3px;
}

input.number {
    text-align: right;
}

span.calculated {
    padding-left: 20px;
}

/* for IE6 - radio buttons must have class='radio' as IE6 doesn't handle attribute selectors */
input.radio {
    background-color: #f2ebbd;
    border:  0;
}

/* for IE6 - checkboxes must have class='checkbox' as IE6 doesn't handle attribute selectors */
input.checkbox {
    background-color: #f2ebbd;
    border:  0;
}

div.header {
    background-color: #497136;
    height: 120px;
}
img.left {
    padding-right: 15px;
    padding-top: 20px;
    padding-left: 25px;
    float: left;
}
img.right {
    padding-right: 15px;
    padding-top: 10px;
    padding-left: 20px;
    float: right;
}
div.header span {
    font-size: 17px;
    font-weight: bold;
    padding-top: 50px;
    color: white;
    float: right;
    text-align: center;
}

span.link {
    color: #000066;
    text-decoration: underline;
    cursor: pointer;
    font-size: 11px;
    padding-left: 10px;
}